package com.twang.stock.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ZhangTingJuJiao implements Serializable {
    @Id
    private Integer id;
    //开板次数
    private Integer openNum;
    //首次涨停时间
    private String firstLimitUpTime;
    //最后涨停时间
    private String lastLimitUpTime;
    //
    private String code;
    //什么类型版：换手版
    private String limitUpType;

    //封单量
    private BigDecimal orderVolume;

    //是否首板
    private Integer isNew;

    //最近一年涨停封板率
    private BigDecimal limitUpSucRate; // Using Double to handle null value

    //流通市值（单位：百亿）
    private BigDecimal currencyValue;

    private Integer marketId;
    //
    private Integer isAgainLimit;
    //涨跌幅
    private BigDecimal changeRate;

    //涨速
    private BigDecimal riseRate;

    //换手率
    private BigDecimal turnoverRate;
    //成交金额(单位：10Y)
    private BigDecimal turnover;
    //涨停原因
    private String reasonType;
    //封单资金（单位：千万）
    private BigDecimal orderAmount;
    //高度-几天几板
    private String highDays;
    //
    private String name;
    //
    private Integer highDaysValue;
    //是否破板（FIRST_LIMIT：首封，LIMIT_BACK：回封）
    private String changeTag;
    //
    private String marketType;
    //价格
    private BigDecimal latest;

    private  String Date;

    //1-涨停池，2-连板池，3-炸板池,4-冲刺涨停,5-跌停池
    private  String orderType;

}
